package tests;

import display2012.DisplayStandardOut;
import interfaces.IDisplay;

public class DisplayTest extends junit.framework.TestCase {
	protected IDisplay display;

	protected void setUp() throws Exception {
		display = new DisplayStandardOut(); // TODO
	}

	public void testDisplay() {
		display.update("hello");
		assertTrue("update hello", display.getCurVarToShow().equals("hello"));
		display.update("123456");
		assertTrue("update 123456", display.getCurVarToShow().equals("123456"));
	}
}